package top.lfyao.designpattern.details.proxy;

/**
 * 代理类
 */
public class Proxy implements Subject {
    private RealSubject realSubject;

    public Proxy() {
         realSubject = new RealSubject();
    }

    @Override
    public void requet() {
        realSubject.requet();
    }
}
